<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>OptionsPricing: utils::FemBases::LagrangeP1 Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">OptionsPricing
   
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li><a href="dirs.html"><span>Directories</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><b>utils</b>      </li>
      <li class="navelem"><b>FemBases</b>      </li>
      <li class="navelem"><a class="el" href="classutils_1_1FemBases_1_1LagrangeP1.html">LagrangeP1</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">utils::FemBases::LagrangeP1 Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="utils::FemBases::LagrangeP1" --><!-- doxytag: inherits="utils::FemBases::FemBasisBase" -->
<p>Inherits utils::FemBases::FemBasisBase.</p>

<p><a href="classutils_1_1FemBases_1_1LagrangeP1-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classutils_1_1FemBases_1_1LagrangeP1.html#ae14835cb69ead099763600ebcc5d1f7e">__init__</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classutils_1_1FemBases_1_1LagrangeP1.html#a16e2064331c1575f2698f82054641434">derivatives</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><b>dof</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classutils_1_1FemBases_1_1LagrangeP1.html#a8af91f22a469068e376d76e061e37f2f">get_grad_disp</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classutils_1_1FemBases_1_1LagrangeP1.html#aaa3b425ea5e1103d00b452392f0b5df6">get_grad_grad</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><b>get_mass_mat</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><b>integrate</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classutils_1_1FemBases_1_1LagrangeP1.html#a73fab949bab4f30e95d7452e04b9314d">l1</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classutils_1_1FemBases_1_1LagrangeP1.html#a42d1cfdc656dfef1e059a791c6672789">l2</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classutils_1_1FemBases_1_1LagrangeP1.html#af8104a2bd4e31297a8eb3e68711ee015">second_der</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><b>shape_func_support</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classutils_1_1FemBases_1_1LagrangeP1.html#aa2963401569410f667188212f5695723">values</a></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><div class="fragment"><pre class="fragment">compute the inner product
  ------- xi \in [0, 1]
  </pre></div> 
<p>Definition at line <a class="el" href="FemBases_8py_source.html#l00068">68</a> of file <a class="el" href="FemBases_8py_source.html">FemBases.py</a>.</p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ae14835cb69ead099763600ebcc5d1f7e"></a><!-- doxytag: member="utils::FemBases::LagrangeP1::__init__" ref="ae14835cb69ead099763600ebcc5d1f7e" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def utils::FemBases::LagrangeP1::__init__ </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<div class="fragment"><pre class="fragment">Instantiate an obj of type P1.  </pre></div> 
<p>Definition at line <a class="el" href="FemBases_8py_source.html#l00074">74</a> of file <a class="el" href="FemBases_8py_source.html">FemBases.py</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a16e2064331c1575f2698f82054641434"></a><!-- doxytag: member="utils::FemBases::LagrangeP1::derivatives" ref="a16e2064331c1575f2698f82054641434" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def utils::FemBases::LagrangeP1::derivatives </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>cls</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>points</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<div class="fragment"><pre class="fragment">evaluate derivatives at quad points.</pre></div> 
<p>Definition at line <a class="el" href="FemBases_8py_source.html#l00128">128</a> of file <a class="el" href="FemBases_8py_source.html">FemBases.py</a>.</p>

</div>
</div>
<a class="anchor" id="a7ab82b62c5658a8f40c6b1d2507dd092"></a><!-- doxytag: member="utils::FemBases::LagrangeP1::dof" ref="a7ab82b62c5658a8f40c6b1d2507dd092" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def utils::FemBases::FemBasisBase::dof </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<div class="fragment"><pre class="fragment">degrees of freedom   </pre></div> 
<p>Definition at line <a class="el" href="FemBases_8py_source.html#l00047">47</a> of file <a class="el" href="FemBases_8py_source.html">FemBases.py</a>.</p>

</div>
</div>
<a class="anchor" id="a8af91f22a469068e376d76e061e37f2f"></a><!-- doxytag: member="utils::FemBases::LagrangeP1::get_grad_disp" ref="a8af91f22a469068e376d76e061e37f2f" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def utils::FemBases::LagrangeP1::get_grad_disp </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>cls</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<div class="fragment"><pre class="fragment">returns grad-disp matrix.  </pre></div> 
<p>Definition at line <a class="el" href="FemBases_8py_source.html#l00108">108</a> of file <a class="el" href="FemBases_8py_source.html">FemBases.py</a>.</p>

</div>
</div>
<a class="anchor" id="aaa3b425ea5e1103d00b452392f0b5df6"></a><!-- doxytag: member="utils::FemBases::LagrangeP1::get_grad_grad" ref="aaa3b425ea5e1103d00b452392f0b5df6" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def utils::FemBases::LagrangeP1::get_grad_grad </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>cls</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<div class="fragment"><pre class="fragment">return grad-grad matrix.  </pre></div> 
<p>Definition at line <a class="el" href="FemBases_8py_source.html#l00098">98</a> of file <a class="el" href="FemBases_8py_source.html">FemBases.py</a>.</p>

</div>
</div>
<a class="anchor" id="ac0ac5340c77384495e2db6e365a55e56"></a><!-- doxytag: member="utils::FemBases::LagrangeP1::get_mass_mat" ref="ac0ac5340c77384495e2db6e365a55e56" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def utils::FemBases::FemBasisBase::get_mass_mat </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<div class="fragment"><pre class="fragment">get mass matrix.  </pre></div> 
<p>Definition at line <a class="el" href="FemBases_8py_source.html#l00057">57</a> of file <a class="el" href="FemBases_8py_source.html">FemBases.py</a>.</p>

</div>
</div>
<a class="anchor" id="a244aaa1558bdbc1c0c623e50972ef646"></a><!-- doxytag: member="utils::FemBases::LagrangeP1::integrate" ref="a244aaa1558bdbc1c0c623e50972ef646" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def utils::FemBases::FemBasisBase::integrate </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>i</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>j</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<div class="fragment"><pre class="fragment">integrate two shape functions in reference interval.</pre></div> 
<p>Definition at line <a class="el" href="FemBases_8py_source.html#l00062">62</a> of file <a class="el" href="FemBases_8py_source.html">FemBases.py</a>.</p>

</div>
</div>
<a class="anchor" id="a73fab949bab4f30e95d7452e04b9314d"></a><!-- doxytag: member="utils::FemBases::LagrangeP1::l1" ref="a73fab949bab4f30e95d7452e04b9314d" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def utils::FemBases::LagrangeP1::l1 </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>points</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<div class="fragment"><pre class="fragment">L_1(pointsi) = 1.0-pointsi </pre></div> 
<p>Definition at line <a class="el" href="FemBases_8py_source.html#l00079">79</a> of file <a class="el" href="FemBases_8py_source.html">FemBases.py</a>.</p>

<p>Referenced by <a class="el" href="FemBases_8py_source.html#l00116">values()</a>, and <a class="el" href="FemBases_8py_source.html#l00203">utils::FemBases::LagrangeP2::values()</a>.</p>

</div>
</div>
<a class="anchor" id="a42d1cfdc656dfef1e059a791c6672789"></a><!-- doxytag: member="utils::FemBases::LagrangeP1::l2" ref="a42d1cfdc656dfef1e059a791c6672789" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def utils::FemBases::LagrangeP1::l2 </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>points</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<div class="fragment"><pre class="fragment">L_2(pointsi) = pointsi </pre></div> 
<p>Definition at line <a class="el" href="FemBases_8py_source.html#l00084">84</a> of file <a class="el" href="FemBases_8py_source.html">FemBases.py</a>.</p>

<p>References <a class="el" href="FemBases_8py_source.html#l00033">utils::FemBases::FemBasisBase::m_mass</a>, and <a class="el" href="FemBases_8py_source.html#l00089">m_mass</a>.</p>

<p>Referenced by <a class="el" href="FemBases_8py_source.html#l00116">values()</a>, and <a class="el" href="FemBases_8py_source.html#l00203">utils::FemBases::LagrangeP2::values()</a>.</p>

</div>
</div>
<a class="anchor" id="af8104a2bd4e31297a8eb3e68711ee015"></a><!-- doxytag: member="utils::FemBases::LagrangeP1::second_der" ref="af8104a2bd4e31297a8eb3e68711ee015" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def utils::FemBases::LagrangeP1::second_der </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>cls</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>points</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<div class="fragment"><pre class="fragment">second derivative at quad points.</pre></div> 
<p>Definition at line <a class="el" href="FemBases_8py_source.html#l00134">134</a> of file <a class="el" href="FemBases_8py_source.html">FemBases.py</a>.</p>

</div>
</div>
<a class="anchor" id="a64d8e5a208d8ac7f87c2fd397cb53c18"></a><!-- doxytag: member="utils::FemBases::LagrangeP1::shape_func_support" ref="a64d8e5a208d8ac7f87c2fd397cb53c18" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def utils::FemBases::FemBasisBase::shape_func_support </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<div class="fragment"><pre class="fragment">return extrems defineing domain for shape functions. </pre></div> 
<p>Definition at line <a class="el" href="FemBases_8py_source.html#l00052">52</a> of file <a class="el" href="FemBases_8py_source.html">FemBases.py</a>.</p>

</div>
</div>
<a class="anchor" id="aa2963401569410f667188212f5695723"></a><!-- doxytag: member="utils::FemBases::LagrangeP1::values" ref="aa2963401569410f667188212f5695723" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def utils::FemBases::LagrangeP1::values </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>points</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<div class="fragment"><pre class="fragment">evalue shape function at quad points.
    quad formulas are defined in the interval [-1, 1].
</pre></div> 
<p>Definition at line <a class="el" href="FemBases_8py_source.html#l00116">116</a> of file <a class="el" href="FemBases_8py_source.html">FemBases.py</a>.</p>

<p>References <a class="el" href="FemBases_8py_source.html#l00079">l1()</a>, and <a class="el" href="FemBases_8py_source.html#l00084">l2()</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="FemBases_8py_source.html">FemBases.py</a></li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Functions</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Thu Dec 22 2011 05:17:55 for OptionsPricing by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.5.1
</small></address>

</body>
</html>
